﻿@model MyMVCDemo.Models.ViewModels.Member.SearchModel

<div class="row">
    <form asp-action="Search" class="col-md-12 row">
        <div class="col-md-4">
            <label asp-for="SearchTxt" class="control-label"></label>
        </div>
        <div class=" col-md-4">
            <input asp-for="SearchTxt" class="form-control" />
            <span asp-validation-for="SearchTxt" class="text-danger"></span>
        </div>
        <div class="col-md-4">
            <input type="submit" value="搜索" class="btn btn-primary" />
            <a asp-action="List" class="btn btn-primary">全部</a>
        </div>
    </form>
</div>




@section Scripts {
    @{await Html.RenderPartialAsync("_ValidationScriptsPartial");}
}
